package models

import (
	"time"
)

// 学生信息表
type Stu_info struct {
	Id          string    `gorm:"column:id",json:"id"`
	Keep_field1 string    `gorm:"column:keep_field1",json:"keep_field1"`
	Keep_field2 string    `gorm:"column:keep_field2",json:"keep_field2"`
	Stu_num     string    `gorm:"column:stu_num",json:"stu_num"`
	Name        string    `gorm:"column:name",json:"name"`
	Stu_img     string    `gorm:"column:stu_img",json:"stu_img"`
	Is_valid    string    `gorm:"column:is_valid",json:"is_valid"`
	CreateTime  time.Time `gorm:"not_null" json:"create_time"`
	UpdateTime  time.Time `gorm:"not_null" json:"update_time"`
	DeleteTime  time.Time `json:"delete_time"`
}

// 设置表明为 Stu_info
func (this *Stu_info) TableName() string {
	return "stu_info"
}
